//
//  PhotoSlideViewController.h
//  AiQiChe
//
//  Created by lian jie on 7/31/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageZoomableView.h"
#import <MessageUI/MessageUI.h>

@interface PhotoSlideViewController : UIViewController <UIScrollViewDelegate,ImageZoomableViewDelegate,UIActionSheetDelegate,MFMailComposeViewControllerDelegate>{
    NSMutableArray *_images;
    int _initSelectedIndex;
    int _currentIndex;
    int _indexBeforeRotation;
    UIScrollView *_imageScrollView;
    UIView *_navView;
    NSMutableSet *_recycledViewSet;
    IBOutlet UIButton *favButton;
    UIView *contentView;
}
@property (nonatomic, retain)IBOutlet  UIScrollView *imageScrollView;
@property (nonatomic, retain)IBOutlet  UIView *navView;
@property (nonatomic, retain)IBOutlet  UIView *contentView;

-(id)initWithImages:(NSMutableArray *)images selectedIndex:(int)selectedIndex;

- (IBAction)backBtnClicked:(id)sender;
- (IBAction)shareBtnClicked:(id)sender;
- (void)tilePages;
- (UIImage *)currentImage;
- (NSString *)currentPid;
- (void)scrollToindex:(NSInteger)index;
@end
